package com.test.spring.test.xml.service.Event;

import org.springframework.context.ApplicationEvent;

import java.io.Serial;

public class HelloEvent extends ApplicationEvent {

	@Serial
	private static final long serialVersionUID = -8534415504913378698L;
	private String name;

	public HelloEvent(Object source, String name) {
		super(source);
		this.name = name;
	}

	public String getName() {
		return name;
	}
}
